home *** CD-ROM | disk | FTP | other *** search
- $! Coolgen Script V1.0 2/16/94
- $! Microsoft version
-
- $I100000000 200000000
- $F$F.C
- /******************************************************************
- $I100000000
- $F - MDI CoolWorx program created by CoolGen
- $E
- $F - SDI CoolWorx program created by CoolGen
- $|
- Date: $D
- ******************************************************************/
- #include <windows.h>
- #include "$F.h"
- #include <cw.h>
-
- /* Forward reference */
- long WINAPI _export win_proc(HWND hWnd, UINT message,
- UINT wParam, LONG lParam);
- int init(HANDLE,HANDLE,int);
-
-
- $I100000000
- #define WINDOWMENU 4
- $|
- HANDLE hInst;
- HWND mainw;
- char ini[]="$F.ini";
-
- /* Main entry point */
- int PASCAL WinMain(HANDLE hInstance, HANDLE prev,
- LPSTR cmdline, int show)
- {
- HANDLE acc=NULL;
- hInst=hInstance;
- cw_BeginIcons(hInst,LoadIcon(hInst,MAKEINTRESOURCE(APPICON)),
- $I100000000
- LoadIcon(hInst,MAKEINTRESOURCE(DOCICON))
- $E
- NULL
- $|
- ,NULL);
- if (!init(hInst,prev,show)) return FALSE;
- /* Vanilla event loop */
- $I200000000
- acc=LoadAccelerators(hInst,MAKEINTRESOURCE(EMENU));
- cw_Run(mainw,NULL,1,&acc,
- $E
- cw_Run(mainw,cw_MDIGetClientWindow(mainw),1,&acc,
- $|
- $I0000000X0
- TRUE,
- $E
- FALSE,
- $|
- $I00000000X
- TRUE
- $E
- FALSE
- $|
- );
- cw_End(hInst);
- return FALSE;
- }
-
- /* Create window here */
- int init(HANDLE hInstance, HANDLE prev,int nCmdShow)
- {
- HWND hWnd;
- /* Create a main window */
- $I100000000
- mainw=hWnd=cw_MDICreateFrame("$F","MMENU",0,
- hInstance,(FARPROC)win_proc,FALSE,2000,
- $I010000000
- MAKEINTRESOURCE(MENUBAR),NULL,NULL,
- $|
- $I020000000
- NULL,MAKEINTRESOURCE(MENUBAR),NULL,
- $|
- $I030000000
- NULL,NULL,MAKEINTRESOURCE(MENUBAR),
- $|
- $I001000000
- MAKEINTRESOURCE(STATUS_BAR),
- $E
- NULL
- $|
- LoadAccelerators(hInst,"MMENU"),
- $I010000000
- CWRIBBON_TOP
- $|
- $I020000000
- CWRIBBON_LEFT
- $|
- $I030000000
- CWRIBBON_RIGHT
- $|
- $I040000000
- 0
- $|
-
- ,0);
- $E
- mainw=hWnd=cw_SDICreate("$F",
- MAKEINTRESOURCE(EMENU),
- hInst,(FARPROC)win_proc,
- $I010000000
- MAKEINTRESOURCE(MENUBAR),NULL,NULL,
- $|
- $I020000000
- NULL,MAKEINTRESOURCE(MENUBAR),NULL,
- $|
- $I030000000
- NULL,NULL,MAKEINTRESOURCE(MENUBAR),
- $|
- $I040000000
- NULL,NULL,NULL,
- $|
- $I001000000
- MAKEINTRESOURCE(STATUS_BAR)
- $E
- NULL
- $|
-
- ,0);
-
- $|
- if (!hWnd)
- return FALSE;
-
- $I000X00000
- /* Make the window visible, update its client area,
- and return "success"
- if we should show normal, use stored window position */
- if (nCmdShow==SW_SHOWNORMAL)
- cw_IniPosSet(ini,"Main",hWnd);
- else
- $|
- ShowWindow(hWnd,nCmdShow);
- UpdateWindow(hWnd);
- return TRUE;
- }
-
- $I100000000
- /* Create new (empty) child window */
- void new_child(HWND hWnd)
- {
- static int untitled=0; // keep track of #
- char title[66];
- wsprintf(title,"Untitled - %d",++untitled);
- /*! Substitute your class here */
- cw_MDICreateChild("$FCLASS",title,
- /*! Use your styles here */
- 0,
- CW_USEDEFAULT,0,CW_USEDEFAULT,0,
- "ChildMENU",hWnd,hInst,WINDOWMENU,
- LoadAccelerators(hInst,"ChildMENU"),
- MAKEINTRESOURCE(EMENUBAR),
- $I010000000
- CWRIBBON_TOP
- $|
- $I020000000
- CWRIBBON_LEFT
- $|
- $I030000000
- CWRIBBON_RIGHT
- $|
- $I040000000
- 0
- $|
- ,NULL);
- }
- $|
-
- /* Window procedure */
- long WINAPI _export win_proc(HWND hWnd, UINT message,
- UINT wParam, LONG lParam)
- {
- switch (message)
- {
- case WM_INITMENU:
- $I0000X0000
- /* Set up most recently opened menu
- -- if child active, put at location 6 of menu 0 (file)
- -- if no child windows, put at location 2 of menu 0 */
- cw_IniOpenMenu(ini,
- GetMenu(hWnd),0,
- $I100000000
- cw_MDIGetActive(hWnd)?6:2,4000);
-
- $E
- 6,4000);
- $|
- $|
- $I100000000
- /* Send WM_INITMENU to child window (if any) */
- cw_MDISendActive(hWnd,WM_INITMENU,wParam,
- lParam);
- break;
-
- #if 0 // enable to have an inital window
- case CW_MDICREATE:
- new_child(hWnd);
- break;
- #endif
- $E
- break;
- $|
-
- $I00100000X
- /* Handle help window messages */
- case CW_HELPID:
- {
- static HWND sb;
- static int oldid;
- /* If first time, find status bar and quit */
- if (!sb)
- {
- sb=cw_GetRibbon(hWnd,CWRIBBON_BOTTOM);
- /* Skip the first one so (c) message appears */
- return 0;
- }
- /* Filter out redundant help messages */
- if (oldid==wParam) return 0;
- oldid=wParam;
- /* Load help from resource file or defaults */
- cw_StatusHelp(hInst,sb,STATUS_PANE,oldid);
- break;
- }
- $|
-
- $I0000000X0
- /* Update status bar/toolbar, etc */
- case CW_IDLE:
- {
- static unsigned divide=0;
- $I100000000
- HWND w=cw_MDIGetActive(hWnd);
- $|
- $I001000000
- /* Only update time every 600 ticks */
- if (divide++%600==0)
- cw_StatusTime(hWnd,CWRIBBON_BOTTOM,
- TIME_PANE);
- /* Update status keys */
- cw_StatusKeys(hWnd,CWRIBBON_BOTTOM,
- CAP_STATIC,NUM_STATIC,NULL,NULL);
- $|
- $I110000000 120000000 130000000
- /* Give child a chance to init toolbar and show status */
- if (w)
- SendMessage(w,CW_INITTOOL,0,(DWORD)hWnd);
- $|
- break;
- }
- $|
-
- /* Menu commands */
- case WM_COMMAND:
- $I0000X0000
- /* Check for most recently used files */
- if (wParam>=4000&&wParam<=4010)
- {
- char fn[66];
- cw_IniOpenGet(ini,4000,
- wParam,fn,sizeof(fn));
- if (*fn)
- {
- /*! Open file here */
- /* If successful open, call cw_IniOpenSet() */
- cw_IniOpenSet(ini,fn);
- }
- break;
- }
- $|
- $I100000000
- /* Ask child if it can handle this message */
- if (!cw_MDISendActive(
- hWnd,CW_STDMENU,wParam,0))
- /* If not, we must do it.... */
- $|
- switch (wParam)
- {
- /* Create new child */
- case CM_FILENEW:
- $I100000000
- new_child(hWnd);
- $E
- /*! Do new file processing here */
- $|
- break;
-
- /* Open file */
- case CM_FILEOPEN:
- {
- char fn[66];
- fn[0]='\0';
- /*! Open file here */
- $I0000X0000
- /* Register file name with most recently opened */
- cw_IniOpenSet(ini,fn);
- $|
- }
- break;
-
- case CM_HELPABOUT:
- /* Use CoolDialog for about box -- no callback is needed
- and there isn't any data to transfer */
- cw_DialogBox(hInst,"ABTBOX",
- mainw,NULL,cw_NullCDlgTemp());
- break;
-
- }
- break;
-
-
- case WM_DESTROY:
- $I000X00000
- /* On exit, save window position */
- cw_IniPosSave(ini,"Main",hWnd);
- $|
- PostQuitMessage(0);
- break;
-
-
- }
- /* Use CoolWorx default -- not windows! */
- $I100000000
- return (cw_DefFrameProc(hWnd, message,
- wParam, lParam));
- $E
- return (cw_DefWindowProc(hWnd, message,
- wParam, lParam));
- $|
- }
-
- $F$F.H
- /* Header for $F Generated by CoolGen $D */
- $I100000000
- #define DOCICON 556
- $|
- #define APPICON 555
- #define EMENU 556
- $I010000000 020000000 030000000
- #define EMENUBAR 125
- #define MENUBAR 122
- $|
- $I001000000
- #define STATUS_BAR 121
- #define STATUS_PANE 100
- #define NUM_STATIC 150
- #define CAP_STATIC 151
- #define TIME_PANE 101
- $|
- $F$F.RC
- /* Resources for $F generated by CoolGen $D */
- #include <windows.h>
- #include <cw.h>
- #include <cbutton.h>
- #include "$F.h"
-
- $I001000000
- /* Status bar */
- STATUS_BAR DIALOG 13, 145, 370, 20
- STYLE WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS
- CLASS "RibbonClass"
- FONT 8, "MS Sans Serif"
- {
- CONTROL "", -1, "static", SS_BLACKFRAME | WS_CHILD |
- WS_VISIBLE, 4, 4, 212, 12
- CONTROL "", -1, "static", SS_BLACKFRAME | WS_CHILD |
- WS_VISIBLE, 217, 4, 38, 12
- LTEXT "$F \xA9$Y by you know who.",
- STATUS_PANE, 8, 7, 207, 8
- LTEXT "", TIME_PANE, 218, 6, 32, 8
- CONTROL "", -1, "static", SS_BLACKFRAME | WS_CHILD |
- WS_VISIBLE, 256, 4, 48, 12
- LTEXT "NUM", NUM_STATIC, 312, 2, 18, 8, SS_NOPREFIX |
- WS_DISABLED | WS_GROUP
- LTEXT "CAP", CAP_STATIC, 335, 2, 15, 8, WS_DISABLED | WS_GROUP
- }
- $|
-
- $I010000000
- /* No document menu bar */
- MENUBAR DIALOG 17, 106, 385, 20
- STYLE WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS
- CLASS "RibbonClass"
- FONT 8, "MS Sans Serif"
- {
- CONTROL "", CM_FILENEW, "CoolButton", CBTN_NOFOCUS | WS_CHILD |
- WS_VISIBLE, 6, 1, 16, 18
- CONTROL "", CM_FILEOPEN, "CoolButton", CBTN_NOFOCUS | WS_CHILD |
- WS_VISIBLE, 22, 1, 16, 18
- CONTROL "", CM_HELPINDEX, "CoolButton", CBTN_NOFOCUS | WS_CHILD |
- WS_VISIBLE, 43, 1, 16, 18
- }
-
- /* Menu bar when document is open */
- EMENUBAR DIALOG 17, 106, 385, 20
- STYLE WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS
- CLASS "RibbonClass"
- FONT 8, "MS Sans Serif"
- {
- CONTROL "", CM_FILENEW, "CoolButton", CBTN_NOFOCUS | WS_CHILD |
- WS_VISIBLE, 6, 1, 16, 18
- CONTROL "", CM_FILEOPEN, "CoolButton", CBTN_NOFOCUS | WS_CHILD |
- WS_VISIBLE, 22, 1, 16, 18
- CONTROL "", CM_FILESAVE, "CoolButton", CBTN_NOFOCUS | WS_CHILD |
- WS_VISIBLE, 38, 1, 16, 18
- CONTROL "", CM_EDITCUT, "CoolButton", CBTN_NOFOCUS | WS_CHILD |
- WS_VISIBLE, 104, 1, 16, 18
- CONTROL "", CM_EDITCOPY, "CoolButton", CBTN_NOFOCUS | WS_CHILD |
- WS_VISIBLE, 120, 1, 16, 18
- CONTROL "", CM_EDITPASTE, "CoolButton", CBTN_NOFOCUS | WS_CHILD |
- WS_VISIBLE, 136, 1, 16, 18
- CONTROL "", CM_EDITUNDO, "CoolButton", CBTN_NOFOCUS | WS_CHILD |
- WS_VISIBLE, 82, 1, 16, 18
- CONTROL "", CM_SEARCHFIND, "CoolButton", CBTN_NOFOCUS | WS_CHILD |
- WS_VISIBLE, 157, 1, 16, 18
- CONTROL "", CM_SEARCHREPL, "CoolButton", CBTN_NOFOCUS | WS_CHILD |
- WS_VISIBLE, 173, 1, 16, 18
- CONTROL "", CM_HELPINDEX, "CoolButton", CBTN_NOFOCUS | WS_CHILD |
- WS_VISIBLE, 194, 1, 16, 18
- CONTROL "", CM_FILEPRINT, "CoolButton", CBTN_NOFOCUS | WS_CHILD |
- WS_VISIBLE, 60, 1, 16, 18
- }
-
- $|
- $I020000000 030000000
- MENUBAR DIALOG 17, 106, 22, 158
- STYLE WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS |WS_BORDER
- CLASS "RibbonClass"
- FONT 8, "MS Sans Serif"
- {
- CONTROL "", CM_FILENEW, "CoolButton", CBTN_NOFOCUS | WS_CHILD | WS_VISIBLE, 2, 1, 16, 18
- CONTROL "", CM_FILEOPEN, "CoolButton", CBTN_NOFOCUS | WS_CHILD | WS_VISIBLE, 2, 18, 16, 18
- CONTROL "", CM_HELPINDEX, "CoolButton", CBTN_NOFOCUS | WS_CHILD | WS_VISIBLE, 2, 40, 16, 18
- }
-
- EMENUBAR DIALOG 51, 65, 22, 224
- STYLE WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_BORDER
- CLASS "RibbonClass"
- FONT 8, "MS Sans Serif"
- {
- CONTROL "", CM_FILENEW, "CoolButton", CBTN_NOFOCUS | WS_CHILD | WS_VISIBLE, 2, 3, 16, 18
- CONTROL "", CM_FILEOPEN, "CoolButton", CBTN_NOFOCUS | WS_CHILD | WS_VISIBLE, 2, 20, 16, 18
- CONTROL "", CM_FILESAVE, "CoolButton", CBTN_NOFOCUS | WS_CHILD | WS_VISIBLE, 2, 37, 16, 18
- CONTROL "", CM_EDITCUT, "CoolButton", CBTN_NOFOCUS | WS_CHILD | WS_VISIBLE, 2, 102, 16, 18
- CONTROL "", CM_EDITCOPY, "CoolButton", CBTN_NOFOCUS | WS_CHILD | WS_VISIBLE, 2, 119, 16, 18
- CONTROL "", CM_EDITPASTE, "CoolButton", CBTN_NOFOCUS | WS_CHILD | WS_VISIBLE, 2, 135, 16, 18
- CONTROL "", CM_EDITUNDO, "CoolButton", CBTN_NOFOCUS | WS_CHILD | WS_VISIBLE, 2, 80, 16, 18
- CONTROL "", CM_SEARCHFIND, "CoolButton", CBTN_NOFOCUS | WS_CHILD | WS_VISIBLE, 2, 159, 16, 18
- CONTROL "", CM_SEARCHREPL, "CoolButton", CBTN_NOFOCUS | WS_CHILD | WS_VISIBLE, 2, 176, 16, 18
- CONTROL "", CM_HELPINDEX, "CoolButton", CBTN_NOFOCUS | WS_CHILD | WS_VISIBLE, 2, 198, 16, 18
- CONTROL "", CM_FILEPRINT, "CoolButton", CBTN_NOFOCUS | WS_CHILD | WS_VISIBLE, 2, 59, 16, 18
- }
-
- $|
-
- $I00000X000
- /* No document menu */
- MMENU MENU
- {
- POPUP "&File"
- {
- MENUITEM "&New\tAlt+N", CM_FILENEW
- MENUITEM "&Open...", CM_FILEOPEN
- MENUITEM "E&xit\tAlt+X", CM_FILEEXIT
- }
-
- POPUP "&Help"
- {
- MENUITEM "&Index\tF1", CM_HELPINDEX
- MENUITEM "&Keyboard", CM_HELPKEYBOARD
- MENUITEM "&Commands", CM_HELPCOMMANDS
- MENUITEM "&Procedures", CM_HELPPROCEDURES
- MENUITEM "&Using help", CM_HELPUSING_HELP
- MENUITEM SEPARATOR
- MENUITEM "&About...", CM_HELPABOUT
- }
-
- }
-
- /* Accelerators for above menu */
- MMENU ACCELERATORS
- {
- "x", CM_FILEEXIT, ALT, NOINVERT
- VK_F1, CM_HELPINDEX, VIRTKEY, NOINVERT
- "n", CM_FILENEW, ALT, NOINVERT
- }
-
-
- /* Document menu */
- EMENU MENU
- {
- POPUP "&File"
- {
- MENUITEM "&New\tAtl+N", CM_FILENEW
- MENUITEM "&Open...", CM_FILEOPEN
- MENUITEM "&Save", CM_FILESAVE
- MENUITEM "Save &as...", CM_FILESAVEAS
- MENUITEM SEPARATOR
- MENUITEM "&Print...", CM_FILEPRINT
- MENUITEM "E&xit\tAlt+X", CM_FILEEXIT
- }
-
- POPUP "&Edit"
- {
- MENUITEM "&Undo\tCtrl+Z", CM_EDITUNDO
- MENUITEM "C&lear\tDel", CM_EDITCLEAR
- MENUITEM "&Cut\tCtrl+X", CM_EDITCUT
- MENUITEM "&Copy\tCtrl+C", CM_EDITCOPY
- MENUITEM "&Paste\tCtrl+V", CM_EDITPASTE
- MENUITEM SEPARATOR
- MENUITEM "Select &All\tCtrl+A", CM_EDITSELALL
- }
-
- POPUP "&Search"
- {
- MENUITEM "&Find...", CM_SEARCHFIND
- MENUITEM "&Replace...",CM_SEARCHREPL
- }
-
-
- $I100000000
- POPUP "&Window"
- {
- MENUITEM "&Cascade", CM_WINCASCADE
- MENUITEM "&Tile", CM_WINTILE
- MENUITEM "&Arrange", CM_WINARRANGE
- MENUITEM SEPARATOR
- MENUITEM "C&lose All", CM_WINCLOSEALL
- }
- $|
-
- POPUP "&Help"
- {
- MENUITEM "&Index\tF1", CM_HELPINDEX
- MENUITEM "&Keyboard", CM_HELPKEYBOARD
- MENUITEM "&Commands", CM_HELPCOMMANDS
- MENUITEM "&Procedures", CM_HELPPROCEDURES
- MENUITEM "&Using help", CM_HELPUSING_HELP
- MENUITEM SEPARATOR
- MENUITEM "&About...", CM_HELPABOUT
- }
-
- }
-
- /* Accelerators for document */
- EMENU ACCELERATORS
- {
- "^Z", CM_EDITUNDO, ASCII, NOINVERT
- "^X", CM_EDITCUT, ASCII, NOINVERT
- "^C", CM_EDITCOPY, ASCII, NOINVERT
- "^A", CM_EDITSELALL, ASCII, NOINVERT
- VK_F1, CM_HELPINDEX, VIRTKEY, NOINVERT
- "X", CM_FILEEXIT, VIRTKEY, NOINVERT, ALT
- "N", CM_FILENEW, VIRTKEY, NOINVERT, ALT
- VK_DELETE, CM_EDITCLEAR, VIRTKEY, NOINVERT
- }
- $E
- /*! You deselected the "Use standard menu" option. Place your menus here */
- $|
-
-
- APPICON ICON "main.ico"
-
-
- $I100000000
- DOCICON ICON "doc.ico"
- $|
-
-
- /* Override default help messages */
- STRINGTABLE
- {
- CM_FILEEXIT, "End $F"
- CM_HELPABOUT, "About $F"
- $I0000X0000
- /* Private help messages */
- 4000, "Open the named file"
- 4001, "Open the named file"
- 4002, "Open the named file"
- 4003, "Open the named file"
- 4004, "Open the named file"
- 4005, "Open the named file"
- 4006, "Open the named file"
- 4007, "Open the named file"
- 4008, "Open the named file"
- 4009, "Open the named file"
- $|
- }
-
-
- /* About box CoolDialog */
- ABTBOX DIALOG 47, 22, 122, 120
- STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
- CLASS "CoolDialog"
- CAPTION "About $F"
- FONT 12, "MS Sans Serif"
- {
- CTEXT "$F is a CoolWorx Application", -1, 11, 6, 100, 82
- CONTROL "&OK", IDOK, "CoolButton", CBTN_CAPTION | CBTN_DEF |
- WS_CHILD | WS_VISIBLE | WS_TABSTOP, 53, 95, 15, 24
- CONTROL "", -1, "static", SS_BLACKFRAME | WS_CHILD |
- WS_VISIBLE, 7, 4, 108, 85
- }
-
-
-
- $|
- $I300000000
- $! Commando Main file
- $F$F.C
- /******************************************************************
- $F - Commando-style CoolWorx program created by CoolGen
- Date: $D
- ******************************************************************/
-
- #include <windows.h>
- #include <cw.h>
- #include "$F.h"
-
- char ini[]="$F.INI";
-
- /* Main entry point */
- int PASCAL WinMain(HANDLE hInst, HANDLE prev,
- LPSTR cmdline, int show)
- {
- /* If you want an icon, use
- cw_BeginIcons(hInst,NULL,NULL,LoadIcon(hInst,APPICON));
- instead of the next line */
-
- cw_Begin(hInst); // start CoolWorx
- /* Show dialog box -- No callback! */
- /*! You may want to add a real dialog template
- in place of the cw_NullCDlgTemp() call here */
- cw_DialogBox(hInst,MAKEINTRESOURCE(MAIN_DLG),NULL,NULL,cw_NullCDlgTemp());
- /* End CoolWorx */
- cw_End(hInst);
- return FALSE;
- }
-
- /* To learn more about writing dialog only programs and other Windows
- programming shortcuts -- check out Commando Windows Programming by
- Al Williams (published by Addison Wesley). */
-
- $F$F.H
- $! Command header
- /*! Place your defines and prototypes here */
- #define MAIN_DLG 100
- $|
- $FReadMe
- The $F application was created by CoolGen, the CoolWorx Application
- Generator.
-
- $I100000000
- Style: MDI
- $|
- $I200000000
- Style: SDI
- $|
- $I300000000
- Style: Commando
- $|
-
- Files:
- ReadMe - This file
- $$F.C - Main application file
- $$F.H - Header file
- $$F.RC - Resources
- $$F.DEF - Linker DEF file
- Makefile - Make file for Microsoft C
-
- To compile this program, simply enter NMAKE. The default options
- will create the program using small model and with debugging
- turned on. You can modify these options by editing Makefile.
-
- Before compiling, make sure that your compiler and linker are
- set to search for the CoolWorx headers and libraries
- (CW.H, CWHIST.H, CBUTTON.H, and COOLWORX.LIB).
-
-
- $!Common def file
- $F$F.DEF
- NAME $F
- Description 'Generated by CoolGen'
- EXETYPE WINDOWS
- CODE PRELOAD MOVABLE DISCARDABLE
- DATA PRELOAD MOVABLE
- HEAPSIZE 1024
- STACKSIZE 21000
-
- $I300000000
- $F$F.RC
- #include <windows.h>
- #include <cbutton.h>
- #include <cwhist.h>
- #include <cwmenu.h>
- #include "$F.h"
-
- MAIN_DLG DIALOG 58, 32, 293, 221
- STYLE DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX
- CLASS "CoolDialog"
- CAPTION "$F"
- FONT 8, "MS Sans Serif"
- {
- CONTROL "OK", IDOK, "CoolButton", CBTN_NOAUTOSIZE | CBTN_CAPTION | CBTN_DEF | WS_CHILD | WS_VISIBLE, 84, 177, 27, 35
- CONTROL "Cancel", IDCANCEL, "CoolButton", CBTN_NOAUTOSIZE | CBTN_CAPTION | WS_CHILD | WS_VISIBLE, 131, 177, 33, 37
- CONTROL "Help", CM_HELPINDEX, "CoolButton", CBTN_NOAUTOSIZE | CBTN_CAPTION | WS_CHILD | WS_VISIBLE, 183, 177, 24, 40
- }
-
- $|
-
- $FMakefile
- # Microsoft makefile for $F (use NMAKE)
- # Generated by CoolGen
- CFLAGS=-Zi -GA
-
- $$F.EXE : $F.OBJ $F.RES $F.DEF
- cl $$(CFLAGS) $F.OBJ COOLWORX.LIB $F.DEF
- rc $F.RES $F.EXE
-
- $$F.RES : $F.RC $F.H
- rc -r $F.RC $F.RES
-
- $$F.OBJ : $F.C $F.H
- cl -c $$(CFLAGS) $F.C
-
-